﻿<Application 
    x:Class="Islamic_influence_in_Venetian_cuture.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:util="clr-namespace:Islamic_influence_in_Venetian_cuture"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:GlobalRes="clr-namespace:Islamic_influence_in_Venetian_cuture.LangResources">

    <!--Risorse dell'applicazione-->
    
    <!--<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Utils.WP7.Bing;component/Resources/Bing.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>-->
    
    <Application.Resources>        
        <util:TextAlignmentConverter x:Key="TextAlignmentConverter" />
        <local:GlobalResourcesWrapper xmlns:local="clr-namespace:Islamic_influence_in_Venetian_cuture.LangResources" x:Key="GlobalResourcesWrapper" />
    </Application.Resources>

    

    <Application.ApplicationLifetimeObjects>
        <!--Oggetto necessario che gestisce gli eventi durata dell'applicazione-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>